<ion-header>
  <ion-navbar>
    <button menuToggle>
      <ion-icon name="menu"></ion-icon>
    </button>
    <ion-title>机器管理</ion-title>
    <ion-buttons end>
      <button (click)="presentPopover($event)">
        <ion-icon name="more"></ion-icon>
      </button>
    </ion-buttons>
  </ion-navbar>
</ion-header>

<ion-content>
  <ion-list>
    <button ion-item *ngFor="let machine of machineList" (click)="goToMachineDetail(machine)">
      <ion-icon name="settings" primary large item-left></ion-icon>
      <p>{{machine.name}}</p></button>
  </ion-list>
</ion-content>
